package com.ruoyi.project.digital.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.lang.annotation.Native;

/**
 * @作者 孙山伟
 * @日期 2023/12/17
 */
@Data
public class CommityDto {

//    @NotNull(message = "unionid不允许为空")
//    private String unionid;

//    @NotNull(message = "商品类型不允许为空")
//    private Integer type;

    @NotNull(message = "手机号不允许为空")
    private String mobile;

    @NotNull(message = "商品名称不允许为空")
    private String storeName;

    @NotNull(message = "商品地址不允许为空")
    private String imageUrl;

    @NotNull(message = "商品code不允许为空")
    private String keyword;

    @NotNull(message = "类型不允许为空")
    private String type;

    private String merit;

    private Double price;

    private Long commodityId;

//    @NotNull(message = "时间不允许为空")
//    private Long time;
}
